package com.zhangbo.study.designpatternlearning.state;

public class StateRun {

    public static void main(String[] args) {
        RemoteControlSwitch remoteControlSwitch = new RemoteControlSwitch();
        remoteControlSwitch.start();
        remoteControlSwitch.stop();

        remoteControlSwitch.start();
        remoteControlSwitch.start();
        remoteControlSwitch.stop();
    }

}
